import turtle
t = turtle.Turtle ()
k = int(input())
x = int(input())
y = int(input())

if x < 250 and x  > -250 and y > -250 and y < 250:
    t.penup()
    t.goto(x, y)
    t.pendown()
    t.begin_fill()
    t.fillcolor("blue")
    t.right(90)
    t.forward(300 * k)
    t.left(90)
    t.forward(100 * k)
    t.left(90)
    t.forward(100 * k)
    t.right(90)
    t.forward(100 * k)
    t.left(90)
    t.forward(100 * k)
    t.left(90)
    t.forward(100* k)
    t.right(90)
    t.forward(100* k)
    t.left(90)
    t.forward(100* k)
    t.end_fill() 
else:
    print("Ошибка")
